﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using Timesheet.Domain;

namespace Timesheet.Data.Infrastructure
{
    public class TimesheetDBContext: DbContext
    {
        public TimesheetDBContext()
            : base("Name=timesheetEntities")//this is the connection string name
        {
        }
 
        public DbSet<User> Users { get; set; }
         public DbSet<Project> Project { get; set; }
        public DbSet<TimeSheets> TimeSheets { get; set; }
        public DbSet<TimeSheetDetails> TimeSheetDetails { get; set; }
        public DbSet<TeamDetail> TeamDetail { get; set; }
        public DbSet<Team> Team { get; set; }
        public DbSet<Locations> Locations { get; set; }
        public DbSet<Disciplines> Disciplines { get; set; }     
        public DbSet<PrjReferences> PrjReferences { get; set; }    
        public DbSet<ClassCode> ClassCodes { get; set; }    
        public DbSet<Groups> Groups { get; set; }
        public DbSet<TimeSheetDetailsNote> TimeSheetDetailsNotes { get; set; }    

    }
}
